PERFORM CHECKLIST FOR EFFECT VALUES

This command will create a checklist of all the effect constants used by the loaded FX file.

  Syntax
PERFORM CHECKLIST FOR EFFECT VALUES Effect Number
  Parameters
Effect Number
Integer
The effect number

  Returns

This command does not return a value.

  Description

The checklist strings will contain the names of the constants, which can then be individually set with the SET EFFECT CONSTANT command.

  Example Code
backdrop off : cls : sync on : sync rate 0 : hide mouse:cls 0
cd "fx\Simple"
load effect "Simple.fx",1,1
load object "sphere.x",1
if effect exist(1)=1 then set object effect 1,1
position object 1,0,0,0
PERFORM CHECKLIST FOR EFFECT VALUES 1
for c=1 to checklist quantity()
print checklist string$(c)
next c
while mouseclick()=0
sync
endwhile
while mouseclick()=1:endwhile
delete object 1
delete effect 1
end
  See also

BASIC3D Commands Menu
Index